<template>
  <div>
    <div class="top">
      <van-icon name="arrow-left" @click="fanhui" />
      <img
        src="https://m.xiaomiyoupin.com/youpin/static/m/res/images/secbuy/secbuy_logo.png"
        alt=""
      />
      <van-icon name="question-o" />
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    fanhui() {
      this.$router.back();
    },
  },
};
</script>

<style scoped>
.top {
  width: 100%;
  height: 0.5rem;
  box-sizing: border-box;
  /* padding: 0 0.1rem; */
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  position: relative;
  background-color: #ff3331;
  position: fixed;
  top:0;
  z-index: 80;
}
.top img {
  width: 0.9rem;
  height: 0.38rem;
}
.van-icon {
    font-size: 0.3rem;
}
</style>